package com.me.myFramework.myRPC1;

import com.me.study.designPatterns.aProxy.RailwayStation;
import com.me.study.designPatterns.aProxy.SellTicket;

/**
 * RPC 服务端
 *
 * @author ME
 * @date   2020/2/24
 */
public class RpcProvider {

    public static void main(String[] args) throws Exception {
        HelloService service1 = new HelloServiceImpl();
        SellTicket service2 = new RailwayStation();
        RpcFramework.export(1234, service1, service2);
    }

}
